package com.atguigu.ioc.controller;

import com.atguigu.ioc.service.TestService;
import com.atguigu.ioc.service.impl.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Date:2020/9/24
 * Author:ybc
 * Description:
 */
public class TestController {

    private TestService testService;

    public TestService getTestService() {
        return testService;
    }

    public void setTestService(TestService testService) {
        this.testService = testService;
    }

    public void addUser(){
        testService.addUser();
    }

}
